package io;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

public class InTest2 {
    public static void main(String[] args) {
        InputStream fin= null;
        try {
            fin = new FileInputStream("E:\\Temp\\java68\\team1\\java68.txt");
            byte []b=new byte[fin.available()];
            int len=fin.read(b);
            String str=new String(b,0,len);
            System.out.println(str);

        } catch (Exception e) {
            e.printStackTrace();
        }finally {
            if(fin!=null) {
                try {
                    fin.close();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
        }


    }
}
